package com.myzl.coal.domain;

import com.myzl.common.annotation.Excel;
import com.myzl.common.core.domain.BaseEntity;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 设备状态对象 t_device_status
 *
 * @author myzl
 * @date 2022-12-08
 */
@Data
@TableName("t_device_status")
public class DeviceStatus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    private Long id;

    /** 设备类型（1PLC 2雷达 3双目 4摄像头 5筛机雷达） */
    @Excel(name = "设备类型", readConverterExp = "1=PLC,2=雷达,3=双目,4=摄像头,5=筛机雷达")
    private Integer deviceType;

    /** 设备Id */
    @Excel(name = "设备Id")
    private Integer deviceId;

    /** 0离线 1在线 */
    @Excel(name = "0离线 1在线")
    private Integer deviceStatus;

}
